from rest_framework.pagination import PageNumberPagination


class StandardPagination(PageNumberPagination):
    """列表页分页"""
    page_size = 10
    page_size_query_param = 'page_size'
    max_page_size = 20
